![]() |
Web Page Design Module 1: Creating Web Pages with HTML Tags |
||||||||
Anatomy of an HTML Tag Some tags come in pairs. The first tag in the pair is called the opening tag. The second tag in the pair is called the closing tag. The general form of a closing tag is </tagname>. The tags used to markup the text, “This is bold text” in bold would look like this: <b>This is bold text. </b>. |
||||||||
Anatomy of an HTML File Head Section The first tag we usually enclosed with the head tags is a <title> tag. The information that follows the <title> tag is displayed in the blue title bar. Make sure you spell title correctly. If you misspell title, nothing will be displayed on your webpage. For example, this page has a title “Online PVI Web Page Design Module 1 Anatomy of Tags and HTML Files”. So the basic structure tags to begin your HTML web page would be <html> Body Section You can add as many blank lines as you want to make your HTML file easier to read. To start a new paragraph use the <p> tag. The browser will word-wrap all text correctly based on the width of the viewer’s screen size. The <br> tag is used to force text to appear on a new line. There are many different types of tags that can be used to markup text in the body section. The table below summarizes a few of the more useful tags. |
||||||||
|
||||||||
Now it is your turn to try and compose your first html document. <html> |
||||||||
Saving a Notepad file as an HTML File |
||||||||
Now close your Notepad file, navigate to your HTML file folder on your Google Drive. Select first webpage to preview what your file will look like in a web browser. Your file it should look like this. If it doesn't return to your Notepad file and make the necessary corrections. |
||||||||
If you need assistance completing this exercise preview the Screen Captured Video. You can also find a link to this video on your Student Resources page. Send your mentor an emai with the Subject Line "Request for Help" if you need help finding the errors. If you do not need assistance, proceed with the next page Numbered and Bulleted Lists. |
||||||||
|